package com.kabigon.tiny.exception;

import com.kabigon.tiny.exception.assertion.Assert;

/**
 * 只包装一层的异常
 * 用于{@link Assert}中的包装自定义异常信息
 * @author xu.biao
 * @version v1.0
 * @Package com.kabigon.tiny.exception
 * @data 2022/5/6 23:20
 */
public class WrapException extends RuntimeException {
    private static final long serialVersionUID = 1L;
    public WrapException(String message) {
        super(message);
    }

    public WrapException(String message, Throwable cause) {
        super(message, cause);
    }
}
